import 'package:furaha_mkopo/net/fm_http_model.dart';

class FMAddressMySelfEntity extends FMHttpModel {
  String? planned;
  List<FMAddressMySelfEntity>? myself;

  FMAddressMySelfEntity({this.planned, this.myself});

  @override
  FMAddressMySelfEntity fromJson(Map<String, dynamic> json) {
    return FMAddressMySelfEntity(
      planned: json['planned'],
      myself: json['myself'] != null
          ? List<FMAddressMySelfEntity>.from(
              json['myself'].map((x) => FMAddressMySelfEntity().fromJson(x)))
          : null,
    );
  }

  factory FMAddressMySelfEntity.json(Map<String, dynamic> json){
    return FMAddressMySelfEntity().fromJson(json);
  }
}
